package com.xcx.bo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class DouyinCollect implements Serializable {
    /**
     * 收藏编号
     */
    private String collectNo;

    /**
     * 用户编号
     */
    private String userNo;

    /**
     * 抖音用户号
     */
    private String douyinUserNo;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 收藏时间
     */
    private Date collectedTime;

    /**
     * 收藏状态 0-取消收藏 1-已收藏
     */
    private String collectStatus;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 修改时间
     */
    private Date updatedTime;

    private static final long serialVersionUID = 1L;

    public String getCollectNo() {
        return collectNo;
    }

    public void setCollectNo(String collectNo) {
        this.collectNo = collectNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getDouyinUserNo() {
        return douyinUserNo;
    }

    public void setDouyinUserNo(String douyinUserNo) {
        this.douyinUserNo = douyinUserNo;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCollectedTime() {
        return collectedTime;
    }

    public void setCollectedTime(Date collectedTime) {
        this.collectedTime = collectedTime;
    }

    public String getCollectStatus() {
        return collectStatus;
    }

    public void setCollectStatus(String collectStatus) {
        this.collectStatus = collectStatus;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DouyinCollect other = (DouyinCollect) that;
        return (this.getCollectNo() == null ? other.getCollectNo() == null : this.getCollectNo().equals(other.getCollectNo()))
            && (this.getUserNo() == null ? other.getUserNo() == null : this.getUserNo().equals(other.getUserNo()))
            && (this.getDouyinUserNo() == null ? other.getDouyinUserNo() == null : this.getDouyinUserNo().equals(other.getDouyinUserNo()))
            && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()))
            && (this.getCollectedTime() == null ? other.getCollectedTime() == null : this.getCollectedTime().equals(other.getCollectedTime()))
            && (this.getCollectStatus() == null ? other.getCollectStatus() == null : this.getCollectStatus().equals(other.getCollectStatus()))
            && (this.getCreatedTime() == null ? other.getCreatedTime() == null : this.getCreatedTime().equals(other.getCreatedTime()))
            && (this.getUpdatedTime() == null ? other.getUpdatedTime() == null : this.getUpdatedTime().equals(other.getUpdatedTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCollectNo() == null) ? 0 : getCollectNo().hashCode());
        result = prime * result + ((getUserNo() == null) ? 0 : getUserNo().hashCode());
        result = prime * result + ((getDouyinUserNo() == null) ? 0 : getDouyinUserNo().hashCode());
        result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
        result = prime * result + ((getCollectedTime() == null) ? 0 : getCollectedTime().hashCode());
        result = prime * result + ((getCollectStatus() == null) ? 0 : getCollectStatus().hashCode());
        result = prime * result + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode());
        result = prime * result + ((getUpdatedTime() == null) ? 0 : getUpdatedTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", collectNo=").append(collectNo);
        sb.append(", userNo=").append(userNo);
        sb.append(", douyinUserNo=").append(douyinUserNo);
        sb.append(", remarks=").append(remarks);
        sb.append(", collectedTime=").append(collectedTime);
        sb.append(", collectStatus=").append(collectStatus);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}